<style lang="less">
</style>
<template>
    <Tabs value="name1">
        <TabPane label="电子证照接口" name="name1">
            <Table border :columns="columns" :data="data"></Table>
        </TabPane>
    </Tabs>
</template>

<script>
import { } from '@/api/eventlist'
export default {
  data () {
    return {
      columns: [
        {
          title: '接口编号',
          key: 'id',
          sortable: true
        },
        {
          title: '接口名称',
          key: 'name',
          sortable: true
        },
        {
          title: '单位名称',
          key: 'companyname',
          sortable: true
        },
        {
          title: 'Content-Type',
          key: 'ContentType',
          sortable: true
        },
        {
          title: '接口地址',
          key: 'url',
          sortable: true
        }
      ],
      data: [
        {
          id: '001',
          name: '电子证照获取token',
          companyname: '电子证照办',
          ContentType: 'application/x-www-form-urlencoded;charset=UTF-8',
          url: 'http://59.197.229.39:8040/license-api-release/oauth/token'
        },
        {
          id: '002',
          name: '电子证照申请',
          companyname: '电子证照办',
          ContentType: 'application/x-www-form-urlencoded;charset=UTF-8',
          url: 'http://59.197.229.39:8040/license-api-release/m/v2/license/generate_info'
        },
        {
          id: '003',
          name: '获取电子证照文件',
          companyname: '电子证照办',
          ContentType: 'application/x-www-form-urlencoded;charset=UTF-8',
          url: 'http://59.197.229.39:8040/license-api-release/m/v2/license/license_info/get_page/2'
        },
        {
          id: '004',
          name: '电子证照获取图片',
          companyname: '电子证照办',
          ContentType: 'application/x-www-form-urlencoded;charset=UTF-8',
          url: 'http://59.197.229.39:8040/license-api-release/license/getImgs'
        },
        {
          id: '005',
          name: '通过提取码获取文件ID',
          companyname: '电子证照办',
          ContentType: 'application/x-www-form-urlencoded;charset=UTF-8',
          url: 'http://59.197.229.39:8040/license-api-release/license/imgDown'
        },
        {
          id: '006',
          name: '个人电子证明列表获取接口',
          companyname: '电子证照办',
          ContentType: 'application/x-www-form-urlencoded;charset=UTF-8',
          url: 'http://59.197.229.39:8040/license-api-release/m/v2/license/list/person'
        }
      ]
    }
  },
  methods: {
    init () {
      console.log('1')
    }
  },
  mounted () {
    this.init()
  }
}
</script>
